package modellayer;

import java.util.Date;

public class Sale {

	private Date date;
	private int id;
	private double total;
	private boolean status;
	
	private Employee employee;
	
	public Sale(){
		
	}
	
	public Sale(int id){
		this.id = id;
	}
	
	public Sale(Date date, int id, double total, boolean status, Employee employee){
		this.date = date;
		this.id = id;
		this.total = total;
		this.status = status;
		this.employee = employee;
	}
	
	public void setDate(Date date){
		this.date = date;
	}
	
	public void setID(int id){
		this.id = id;
	}
	
	public void setTotal(double total){
		this.total = total;
	}
	
	public void setStatus(boolean status){
		this.status = status;
	}
	
	public void setEmployer(Employee employee){
		this.employee = employee;
	}
	
	public Date getDate(){
		return date;
	}
	
	public int getID(){
		return id;
	}
	
	public double getTotal(){
		return total;
	}
	
	public boolean getStatus(){
		return status;
	}
	
	public Employee getEmployer(){
		return employee;
	}
	
}
